package com.example.football.controller;


import com.example.football.pojo.Peoplelikestar;
import com.example.football.pojo.Peopleliketeam;
import com.example.football.pojo.Result;
import com.example.football.service.PeoplelikestarServiceImpl;
import com.example.football.service.PeopleliketeamServiceImpl;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class AppPeoplelikestarController {
    @Resource
    private PeoplelikestarServiceImpl cc;

    @PostMapping("/APPaddPeoplelikestar")
    public Result insert(@RequestBody Peoplelikestar peoplelikestar){
        return cc.insert(peoplelikestar);
    }
}
